package com.gxa.dr2.service;

import com.gxa.dr2.dto.LayDTO;
import com.gxa.dr2.param.MyParam;
import com.gxa.dr2.pojo.SalePerformance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalePerformanceService {
    int deleteByPrimaryKey(Integer performanceId);

    int insert(SalePerformance record);

    int insertSelective(SalePerformance record);

    SalePerformance selectByPrimaryKey(Integer performanceId);

    int updateByPrimaryKeySelective(SalePerformance record);

    int updateByPrimaryKey(SalePerformance record);

    /**
     * 删除所选员工绩效
     * @param ids
     * @return
     */
    int deleteByIds(Integer[] ids);

    /**
     * 获取所有员工绩效
     */
    LayDTO list(@Param("param") MyParam param);
}
